package cn.ffcs.unm.epiboly.manager.impl;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import cn.ffcs.unm.epiboly.dao.OutsourcingDao;
import cn.ffcs.unm.epiboly.manager.OutsourcingManager;
import cn.ffcs.unm.epiboly.model.OutStaffContract;
import cn.ffcs.unm.epiboly.model.OutStaffCost;
import cn.ffcs.unm.epiboly.model.OutStaffInfo;
import cn.ffcs.unm.epiboly.model.OutStaffMainTable;
import cn.ffcs.unm.epiboly.model.OutStaffQualification;
import cn.ffcs.unm.epiboly.model.OutStaffTrainInfo;
import cn.ffcs.unm.epiboly.model.OutStaffWork;
import cn.ffcs.unm.epiboly.model.OutsourcingCompany;
import cn.ffcs.unm.epiboly.model.UtsourcingContract;
import cn.ffcs.uom.common.vo.PageInfo;

@Service("outsourcingManager")
@Scope("prototype")
public class OutsourcingManagerImpl implements OutsourcingManager {

	@Resource
	private OutsourcingDao outsourcingDao;

	@Override
	public PageInfo queryPageInfoByUtsourcingContract(
			UtsourcingContract utsourcingContract, int currentPage, int pageSize) {
		return outsourcingDao.queryPageInfoByUtsourcingContract(
				utsourcingContract, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoByOutsourcingCompany(
			OutsourcingCompany outsourcingCompany, int currentPage, int pageSize) {
		return outsourcingDao.queryPageInfoByOutsourcingCompany(
				outsourcingCompany, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoByOutStaffCost(OutStaffCost outStaffCost,
			int currentPage, int pageSize) {
		return outsourcingDao.queryPageInfoByOutStaffCost(outStaffCost,
				currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoByOutStaffContract(
			OutStaffContract outStaffContract, int currentPage, int pageSize) {
		return outsourcingDao.queryPageInfoByOutStaffContract(outStaffContract,
				currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoByOutStaffQualification(
			OutStaffQualification outStaffQualification, int currentPage,
			int pageSize) {
		return outsourcingDao.queryPageInfoByOutStaffQualification(
				outStaffQualification, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoByOutStaffTrainInfo(
			OutStaffTrainInfo outStaffTrainInfo, int currentPage, int pageSize) {
		return outsourcingDao.queryPageInfoByOutStaffTrainInfo(
				outStaffTrainInfo, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoByOutStaffInfo(OutStaffInfo outStaffInfo, int currentPage, int pageSize) {
		return outsourcingDao.queryPageInfoByOutStaffInfo(outStaffInfo, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoByOutStaffWork(OutStaffWork outStaffWork, int currentPage, int pageSize) {
		return outsourcingDao.queryPageInfoByOutStaffWork(outStaffWork, currentPage, pageSize);
	}

	@Override
	public PageInfo queryPageInfoByOutStaffMainTable(
			OutStaffMainTable outStaffMainTable, int currentPage, int pageSize) {
		return outsourcingDao.queryPageInfoByOutStaffMainTable(
				outStaffMainTable, currentPage, pageSize);
	}

}
